package com.ethink.order.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 采购锁单数量修改记录表 数据库实体
 *
 * @author default
 * @date 2022-12-07
 */
@Data
@TableName("t_purchase_qty_changes_log")
public class PurchaseQtyChangesLog extends SuperEntity {

    public static final String PURCHASE_DETAIL_ID ="purchase_detail_id";

    public static final String BEFORE_QTY ="before_qty";

    public static final String AFTER_QTY ="after_qty";

    public static final String CREATE_USER_CODE ="create_user_code";

    public static final String CREATE_USER_NAME ="create_user_name";


    /** 采购从表id */
    private Long purchaseDetailId;

    /** 原数量 */
    private Integer beforeQty;

    /** 修改数量 */
    private Integer afterQty;

    /** 制单人 */
    private String createUserCode;

    /** 制单人名称 */
    private String createUserName;

}
